package com.godyao.framework.beans.factory;

public interface BeanFactory {

    Object getBean(String beanName);

    <T> T getBean(String beanName, Class<T> clazz);

    /**
     * 给有参构造方法传参
     * @param beanName
     * @param args
     * @return
     */
    Object getBean(String beanName, Object... args);

    <T> Object getBean(Class<T> clazz);

}
